<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:replace="top::html"/> <!-- 引入样式 -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>对接详情修改页面</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<body class="fixed hold-transition skin-blue">

	<div class="wrapper">
	
		<!-- 引入表头 -->
		<div th:replace="tophtml::html"></div>
		<!-- 引入左边 -->
		<div th:replace="left::html"></div>

		<!-- 右侧添加功能 -->
		<div class="content-wrapper">
			<!-- 页眉 -->
			<section class="content-header">
				<h1>修改对接详情</h1>
			</section>
			<section class="content container-fluid">
				<!-- 表单（添加了表单样式） class="form-inline" -->
				<form th:action="@{/details/UpdateDetails}" method="post" enctype="multipart/form-data">
					<!-- 设置pid隐藏域 -->
					<input type="hidden" name="pid" th:value="${details.pid}"/>
					<div class="form-group">
						<label><font color="red">*</font>对接状态：</label> 
						<select name="buttStatus" th:field="${details.buttStatus}" class="form-control">
							<option th:each="psd : ${buttStatus}" th:value="${psd.pid}" th:text="${psd.worth}"></option>
						</select>
					</div>
					<div class="form-group">
						<label for="exampleInputFile">对接附件：</label> 
						<input type="file" name="buttaNnex1">
					</div>
					<div class="form-group">
						<label><font color="red">*</font>对接详情：</label> 
						<input type="text" name="buttDetails" th:value="${details.buttDetails}" class="form-control" placeholder="对接详情 ...">
					</div>
					<div class="form-group">
						<label><font color="red">*</font>对接负责人：</label> 
						<input type="text" name="buttPersonId" th:value="${details.buttPersonId}" class="form-control" placeholder="对接负责人 ...">
					</div>
					<div class="form-group">
						<label><font color="red">*</font>是否为最新：</label> 
						<input type="text" name="future" th:value="${details.future}" class="form-control" placeholder="future ...">
					</div>
					<div class="form-group">
						<label>备注1：</label> 
						<input type="text" name="remark1" th:value="${details.remark1}" class="form-control" placeholder="备注1 ...">
					</div>
					<div class="form-group">
						<label>备注2：</label> 
						<input type="text" name="remark2" th:value="${details.remark2}" class="form-control" placeholder="备注2 ...">
					</div>
					<button type="submit" class="btn btn-primary">提交</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<button type="reset" class="btn btn-primary">重置</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<button type="button" class="btn btn-primary" onclick="window.history.go(-1)">返回</button>
				</form>
			</section>
		</div><!-- 右侧添加功能结束 -->
		
		<!-- 引入页脚 -->
		<div th:replace="footer::html"></div>
		<div class="control-sidebar-bg"></div> 
	</div>

	<!-- 引入js -->
	<div th:replace="bottom::html" ></div>
</body>
</html>